package com.guo.hui.service;

import java.util.List;
import java.util.Map;


import com.github.pagehelper.PageInfo;
import com.guo.hui.model.shiro.TpRole;
import com.guo.hui.page.PageParam;

public interface RoleService {

	public void saveRole(TpRole tp);

	public void updateRole(TpRole tp);

	public void saveUserRole(Integer userid, Integer[] ids);

	public List<TpRole> selectByMap(Map<String, Object> map);

	PageInfo<TpRole> selectByMapPage(PageParam pageParm);

}
